WP_Defender\Controller\Two_Factor D

Total Complexity 184
Dependencies 23
Dependents 9
Total lines 1,411
Lines of code 882
Logical lines of code 417
Comment lines 398
Methods 40
Properties 8

Methods 40

Method Rating Maintainability Complexity Lines of code
render_otp_screen()
B
33 18 98
verify_otp_login_time()
B
36 17 78
profile_update()
B
41 16 54
verify_otp_for_enabling()
A
41 13 57
__construct()
A
38 12 66
show_user_profile()
A
38 10 71
maybe_show_otp_form()
A
49 11 30
send_test_email()
A
41 5 64
maybe_redirect_to_show_2fa_enabler()
S
53 7 23
disable_totp()
S
53 6 23
remove_data()
S
47 5 35
handle_woocommerce_prevent_admin_access()
S
56 6 19
handle_woocommerce_login_redirect()
S
59 5 15
display_2fa_user_settings()
S
56 4 18
save_2fa_details()
S
57 4 16
filter_users_by_2fa()
S
58 4 16
enable_provider_slugs()
S
58 4 16
send_backup_code()
S
54 3 22
save_settings()
S
54 2 23
wp_defender_2fa_link_my_account()
S
67 3 6
store_session_key()
S
67 3 7
generate_backup_codes()
S
58 1 16
enqueue_assets()
S
64 2 10
listen_for_jetpack_option()
S
68 2 7
woo_integration_enabled()
S
80 2 3
data_frontend()
S
59 1 15
import_data()
S
67 2 8
export_strings()
S
70 2 6
config_strings()
S
72 2 5
to_array()
S
63 2 10
woocommerce_hooks()
S
62 1 13
add_redirect_to_input()
S
79 1 3
redirect_url()
S
79 1 3
get_token()
S
72 1 5
wp_defender_2fa_endpoint()
S
75 1 4
wp_defender_2fa_query_vars()
S
77 1 4
clear_providers()
S
75 1 4
wp_defender_2fa_content()
S
80 1 3
main_view()
S
81 1 3
remove_settings()
S
81 1 3